import java.util.regex.Pattern;

/**
 * @Author: admin
 * @Description:
 * @Date: 2019/5/11 16:36
 */

public class StringUtil {
    //private static String  REGEX_CHINESE = "[\u4e00-\u9fa5]";// 中文正则
    private static Pattern pattern = Pattern.compile("[\u4e00-\u9fa5]");

    public static void filterChiness(String str) {
        System.out.println(pattern.matcher(str).replaceAll(""));
    }

}
